package com.spring.model;

/**
 * @author: sun.hongliang
 * @create: 2018/09/30 14:25
 */
public class Hero {
    private String name;
    private int age;
    private TestMyInject testMyInject;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public TestMyInject getTestMyInject() {
        return testMyInject;
    }

    public void setTestMyInject(TestMyInject testMyInject) {
        this.testMyInject = testMyInject;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", testMyInject=" + testMyInject +
                '}';
    }
}
